home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2002 November
/
SGI Freeware 2002 November - Disc 2.iso
/
dist
/
fw_glimpse.idb
/
usr
/
freeware
/
src
/
glimpse-3.0
/
index
/
region.h.z
/
region.h
Wrap
C/C++ Source or Header
|
1997-09-09
|
783b
|
31 lines
/* Copyright (c) 1994 Sun Wu, Udi Manber, Burra Gopal. All Rights Reserved. */
/* Constructed from the mail messages received from Bill Camargo in June 1994 */
#ifndef _REGION_H_
#define _REGION_H_
#include <sys/types.h>
#if STRUCTURED_QUERIES
/* These are imports from Bill's stuff */
#include "util.h"
#include "template.h"
#endif /*STRUCTURED_QUERIES*/
/* These are mine */
typedef struct REGION {
int length;
int offset;
int attributeid;
struct REGION *next, *prev;
} region_t;
/* Assuming there are no more than 2^(8*sizeof(int)) attributes */
typedef struct ATTR_ELEMENT {
struct ATTR_ELEMENT *next;
int attributeid;
char *attribute; /* pointer to the one in the hash entry */
} attr_element_t;
extern char *my_malloc();
extern int my_free();
#endif /*_REGION_H_*/